package com.ruoyi.project.members.order.mapper;

import com.ruoyi.project.members.order.domain.Order;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OrderMapper {

    /*
    * 条件查询
    * */
    List<Order> selectOrderList(Order order);

    /*
    * 根据ID查询数据
    * */
    Order selectOrderById(Integer orderId);

    List<Order> selectALL();

    /*
    * 添加订单
    * */
    int insertOrder(Order order);

    /*
     * 添加订单
     * */
    int updateOrder(Order order);
}
